<%@ page language="java" import="Clases.*,BasedeDatos.*,java.sql.*,Operaciones.*,java.util.*;" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Sistema de notificacion de errores Comunidad Aura</title>
<link href="css/style.css" rel="stylesheet" type="text/css" />
<style type="text/css">
.style1 {
	text-align: center;
}
.style2 {
	background-image: url('images/news_bg_rpt.jpg');
	text-align: center;
	width: 680px;
	background-color: #353434;
	color: #C7D0D5;
	font-size: 13px;
}
.auto-style1 {
	font-size: medium;
	color: #FFFFFF;
}
</style>
</head>
<body>
<center>
<div id="wrapper">
    <div id="header"></div>


    <div class="black">
	<div id="nav">
	<ul>
	<li><a href="index.html" >Home</a></li>
	<li><a href="FrontController?res=entrada.jsp">Reporte</a></li>
	<li><a href="FrontController?res=mipanel.jsp"> Panel de panel de control</a></li>
	<li><a class="current" > Seleccion de reporte</a></li>
	</ul>
	</div>
	</div>

 <div id="content">


    <div class="newstitle"><p class="margin" style="text-align: left"><u></u></div>
    <div class="style2">
    <br/>
    
    <% 
    	int entryA = Integer.parseInt(request.getParameter("entryA"));
    	int entryH = Integer.parseInt(request.getParameter("entryH"));
    	int ambas = Integer.parseInt(request.getParameter("ambas"));
    	misionJDBC jdbc = new misionJDBC();
    	Mision mision = jdbc.selectMision(entryA,entryH,ambas);
    
    %>
    <form action ="FrontController?res=resultadorepairmision.jsp" method="post">
		<table style="width: 100%">
			<tr>
				<td style="width: 86px">&nbsp;</td>
				<td style="width: 254px">
				<p class="auto-style1"><strong>Identificador Mision A:</strong></p>
				</td>
				<td style="width: 261px"><input name="id_entryA" style="width: 90px" type="text" value="<%=mision.getEntryA() %>" /></td>
				<td>&nbsp;</td>
			</tr>
			<tr>
				<td style="width: 86px">&nbsp;</td>
				<td style="width: 254px">
				<p class="auto-style1"><strong>Identificador Mision H:</strong></p>
				</td>
				<td style="width: 261px"><input name="id_entryH" style="width: 90px" type="text" value="<%=mision.getEntryH() %>" /></td>
				<td>&nbsp;</td>
			</tr>
			<tr>
				<td style="width: 86px">&nbsp;</td>
				<td style="width: 254px">
				<p class="auto-style1"><strong>Identificador Ambas:</strong></p>
				</td>
				<td style="width: 261px"><input name="id_ambas" style="width: 90px" type="text" value="<%=mision.getAmbas() %>" /></td>
				<td>&nbsp;</td>
			</tr>
			<tr>
				<td colspan="4"><strong>
			<p class="margin" style="font-size: medium; color: #FFFFFF; text-align: center;"><strong>
			Descripcion:</strong></p>

			</tr>
			<tr>
				<td colspan="4">
				<p class="margin" style="font-size: medium; color: #FFFFFF; text-align: center;"><strong>
			<%=mision.getComentario()%></strong></p>
			</td>
			</tr>
						<tr>
				<td colspan="4"><strong>
			<p class="margin" style="font-size: medium; color: #FFFFFF; text-align: center;"><strong>
			Reparacion:</strong></p>

			</tr>
			<tr>
				<td colspan="4">
			<textarea cols="20" name="repair" rows="1" style="width: 562px; height: 158px"></textarea></td>
			</tr>
			<tr>
				<td colspan="4" class="style1">
				<strong>
				  <input name="guardar" style="width: 137px; height: 42px" type="submit" value="Guardar" /><br />
				</strong></td>
			</tr>
	</form>
	<form action ="FrontController?res=listarepmision.jsp" method="post">
			<tr>
				<td colspan="4" class="style1">
				<strong>
				  <input name="guardar0" style="width: 137px; height: 42px" type="submit" value="Volver" /></strong></td>
			</tr>
	</form>
		</table>
		
	<br/>
			</div>
	
<div id="newsfooter"></div>
<br/>

<br/>

    

</div>
   


    <div id="footer">Comunidad WOW AURA</div>
</center>
<br/>
</body>
</html>